<?php
class IndexAction extends Action {
    public function index(){
    	//header ( 'P3P: CP="CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"' );
		//cookie("tes","李开涌....888000");
    	$Session=M();
    	//$row=$Session->query("SELECT * FROM `zdh_sessions`");
    	//dump($row);
    	$Cache = Cache::getInstance('Memcache');
    	$cookie_name=$_COOKIE["zdh_buty_user"];
    	//echo $cookie_name;
		$rows=$Cache->get(substr($cookie_name,0,-8));
		$data=$rows["data"];
		$row=unserialize(stripslashes($data));
		//dump($rows);
		//dump($row);
    }
    public function gets(){
    	
    	dump($_COOKIE);
    }
    public function tests(){
    	echo substr("094e79d0d58231be36fd639685dfe4e81919fcd0",0,-8);
    }
}